package io.unicorn.modules.water.service;

import com.baomidou.mybatisplus.extension.service.IService;
import io.unicorn.common.utils.PageUtils;
import io.unicorn.commons.dynamic.datasource.annotation.DataSource;
import io.unicorn.modules.water.entity.TAccountManageEntity;

import java.util.List;
import java.util.Map;

/**
 * ${comments}
 *
 * @author LNCG
 * @email LNCG@USTL.EDU.CN
 * @date 2021-04-10 10:01:48
 */
@DataSource("water1")
public interface TAccountManageService extends IService<TAccountManageEntity> {

    PageUtils queryPage(Map<String, Object> params);

    PageUtils getClientErrorDataByProcedure(Map<String, Object> params);

    List<Map<String, Object>> execProCalDevCount(Map<String, Object> params);

    //生成导入数据的模板
    byte[] genExcelTemplate();

    List<Map <String, Object>> selectViewAccountExceed(Map<String, Object> params);

    List<Map <String, Object>> selectViewAccountExceedSub(Map<String, Object> params);

    /**
     * 2023.3.29
     */
    List<Map <String, Object>> execGetChartData(Map<String, Object> params);

    //无磁
    List<Map<String, Object>> exeProSynData(Map<String, Object> params);

    //2025.3.19 山东冠翔
    List<Map<String, Object>> exeProSynDataGx(Map<String, Object> params);

    //2025.3.19 数据自动同步
    List<Map<String, Object>> exeAutoProSynData(Map<String, Object> params);
}

